package com.itisyue.fun.dto;

public class FileDownloadDTO {
    private String filePath;
    private long timestamp;

    public FileDownloadDTO() {
    }
    public FileDownloadDTO(String filePath) {
        this.filePath = filePath;
        this.timestamp = System.currentTimeMillis();
    }

    public FileDownloadDTO(String filePath, long timestamp) {
        this.filePath = filePath;
        this.timestamp = timestamp;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    @Override
    public String toString() {
        return "FileDownloadDTO{" +
                "filePath='" + filePath + '\'' +
                ", timestamp=" + timestamp +
                '}';
    }
}
